#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int num1 = 0, num2 = 0, num3 = 0;
	while ((scanf("%d%d%d", &num1, &num2, &num3)) != EOF)
	{
		int max = num1 > num2 ? num1: num2;
		max = max > num3 ? max : num3;
		printf("%d ", max);
	}
	return 0;
}